package cn.itcast.service;

import cn.itcast.domain.User;

import java.util.List;

/**
 * @author wgq
 * @date 2019-09-20 18:39
 */
public interface UserService {
    User login(String username, String password);

    List<User> list();

    void save(User user, Long[] roleIds);

    void del(Long userId);

    User findOne(Long userId);

    void update(User user, Long[] roleIds);
}
